1import os
 2
 3max_x = 5
 4max_y = 5
 5
 6for x in range(max_x):
 7    for y in range(max_y):
 8        if x >= y:
 9            # command = "flatpak run org.openscad.OpenSCAD -o ./out/"+character+".stl -D \"stamp(\\\"\\\\U"+format(ord(character), '06x')+"\\\");\" ./v1.scad&"
10            #command = "flatpak run org.openscad.OpenSCAD -o ./out/"+character+".stl -D \"stamp(\\\""+character+"\\\");\" ./v1.scad&"
11            command_bottom = "\'/home/ontake/Apps/OpenSCAD-2024.05.20.ai19442-x86_64.AppImage\' -o ./out/"+str(x+1)+"x"+str(y+1)+"-bottom.stl -D gridx=\'"+str(x+1)+"\' -D gridy=\'"+str(y+1)+"\' -D shitfinity_top=\'false\' ./v1.scad &"
12            print(command_bottom)
13            os.system(command_bottom)
14            command_top = "\'/home/ontake/Apps/OpenSCAD-2024.05.20.ai19442-x86_64.AppImage\' -o ./out/"+str(x+1)+"x"+str(y+1)+"-top.stl -D gridx=\'"+str(x+1)+"\' -D gridy=\'"+str(y+1)+"\' -D shitfinity_top=\'true\' ./v1.scad &"
15            print(command_top)
16            os.system(command_top)